<?php
/**
 * Created by JetBrains PhpStorm.
 * User: thinhhung
 * Date: 6/25/12
 * Time: 1:39 PM
 * To change this template use File | Settings | File Templates.
 */

class KhosController extends AppController {
    public $name = 'Khos';
    public $helper = array('Html', 'Form');

    var $paginate = array(
        'limit' => '7',
        'order' => array(
            'kho.MASP' => 'asc'
        )
    );

    public function index()
    {
        $this->set('title_for_layout', 'Kho hàng');
        $this->Kho->recursive = 0;
        $this->set('khos', $this->paginate());

    }
}